package mshop.com.schild_kotlin.utils

import java.text.SimpleDateFormat
import java.util.*

/**
 * Created by mayi on 2018/5/26.
 * @Autor CaiWF
 * @Email 401885064@qq.com
 * @TODO
 */

fun getMiniu(millis:Long):String{
    var calendar=Calendar.getInstance()
    calendar?.setTimeInMillis(millis)
    var sdf=SimpleDateFormat("mm:ss",Locale.getDefault())
    return sdf.format(calendar.time)
}